package com.frogs.ucenter.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.frogs.framework.util.date.DateUtil;

public class UserOrderStatistics implements Serializable {
    private static final long serialVersionUID = -8541084255112673432L;

    /**
     * This field corresponds to the database column user_order_statistics.id
     */
    private Integer id = 0;

    /**
     * This field corresponds to the database column user_order_statistics.user_id
     */
    private Integer userId = 0;

    /**
     * This field corresponds to the database column user_order_statistics.order_year
     */
    private Integer orderYear = DateUtil.getYear(new Date());

    /**
     * This field corresponds to the database column user_order_statistics.order_num
     */
    private Integer orderNum = 1;

    /**
     * This field corresponds to the database column user_order_statistics.money
     */
    private BigDecimal money;

    /**
     * This method returns the value of the database column user_order_statistics.id
     *
     * @return the value of user_order_statistics.id
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method sets the value of the database column user_order_statistics.id
     *
     * @param id the value for user_order_statistics.id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * This method returns the value of the database column user_order_statistics.user_id
     *
     * @return the value of user_order_statistics.user_id
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * This method sets the value of the database column user_order_statistics.user_id
     *
     * @param userId the value for user_order_statistics.user_id
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * This method returns the value of the database column user_order_statistics.order_year
     *
     * @return the value of user_order_statistics.order_year
     */
    public Integer getOrderYear() {
        return orderYear;
    }

    /**
     * This method sets the value of the database column user_order_statistics.order_year
     *
     * @param orderYear the value for user_order_statistics.order_year
     */
    public void setOrderYear(Integer orderYear) {
        this.orderYear = orderYear;
    }

    /**
     * This method returns the value of the database column user_order_statistics.order_num
     *
     * @return the value of user_order_statistics.order_num
     */
    public Integer getOrderNum() {
        return orderNum;
    }

    /**
     * This method sets the value of the database column user_order_statistics.order_num
     *
     * @param orderNum the value for user_order_statistics.order_num
     */
    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    /**
     * This method returns the value of the database column user_order_statistics.money
     *
     * @return the value of user_order_statistics.money
     */
    public BigDecimal getMoney() {
        return money;
    }

    /**
     * This method sets the value of the database column user_order_statistics.money
     *
     * @param money the value for user_order_statistics.money
     */
    public void setMoney(BigDecimal money) {
        this.money = money;
    }
}